﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace Elementum
{
    class SmokePlumeParticleSystemForStage6 : SmokePlumeParticleSystem
    {
        public SmokePlumeParticleSystemForStage6(Stage stage, int h) : base(stage, h) { }

        protected override void InitializeConstants()
        {
            textureFilename = "images/smoke";

            minInitialSpeed = 20;
            maxInitialSpeed = 100;

            // we don't want the particles to accelerate at all, aside from what we
            // do in our overriden InitializeParticle.
            minAcceleration = 0;
            maxAcceleration = 0;

            // long lifetime, this can be changed to create thinner or thicker smoke.
            // tweak minNumParticles and maxNumParticles to complement the effect.
            minLifetime = 5.0f;
            maxLifetime = 7.0f;

            minScale = 0.8f;
            maxScale = 1.8f;

            minNumParticles = 3;
            maxNumParticles = 7;


            // rotate slowly, we want a fairly relaxed effect
            minRotationSpeed = -MathHelper.PiOver4 / 2.0f;
            maxRotationSpeed = MathHelper.PiOver4 / 2.0f;

            blendState = BlendState.AlphaBlend;

            //DrawOrder = AlphaBlendDrawOrder;
        }

       

    }
}
